<html>
<head>
<meta charset="utf-8"></meta>
<title>BThread</title>
<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
<body>
		<div class="class" name="BThread">
<h1>BThread</h1>
<p>继承自<a href="BObject.html">BObject</a></p>
			<p id="resume"><a href="#desc">详细</a></p><h2>public</h2>
<table id="public">
<tr><td align="right">static BThread* </td><td><a href="#Current()">Current</a>();</td></tr>
			</table>
<h2>public</h2>
<table id="public">
<tr><td align="right"/><td><a href="#BThread(const BString&)">BThread</a>(const BString&amp; name = BString());</td></tr>
<tr><td align="right"/><td><a href="#~BThread()">~BThread</a>();</td></tr>
<tr><td align="right">void </td><td><a href="#setFrequency(int)">setFrequency</a>(int frequency);</td></tr>
<tr><td align="right">int </td><td><a href="#frequency() const">frequency</a>() const;</td></tr>
<tr><td align="right">int </td><td><a href="#realFrequency() const">realFrequency</a>() const;</td></tr>
<tr><td align="right">bool </td><td><a href="#start()">start</a>();</td></tr>
<tr><td align="right">bool </td><td><a href="#pause()">pause</a>();</td></tr>
<tr><td align="right">bool </td><td><a href="#sleep(BReal)">sleep</a>(BReal seconds = -1);</td></tr>
<tr><td align="right">bool </td><td><a href="#wait()">wait</a>();</td></tr>
<tr><td align="right">bool </td><td><a href="#cease()">cease</a>();</td></tr>
<tr><td align="right">bool </td><td><a href="#done(int)">done</a>(int code = 0);</td></tr>
<tr><td align="right">bool </td><td><a href="#runing() const">runing</a>() const;</td></tr>
<tr><td align="right">using </td><td><a href="#BObject::query;()">BObject::query;</a></td></tr>
<tr><td align="right">virtual bool </td><td><a href="#query(const BString&, BValue&) const">query</a>(const BString&amp; text, BValue&amp; value) const;</td></tr>
			</table>
<h2>protected</h2>
<table id="protected">
<tr><td align="right">virtual int </td><td><a href="#run()">run</a>() = 0;</td></tr>
			</table>
<div id="desc">
<h2>详细介绍：</h2>
			</div>
<h2 id="docs">成员文档：</h2>
<div id="Current()">
<h3>static BThread* Current();</h3>
			</div>
<div id="BThread(const BString&)">
<h3>BThread(const BString&amp; name = BString());</h3>
			</div>
<div id="~BThread()">
<h3>~BThread();</h3>
			</div>
<div id="setFrequency(int)">
<h3>void setFrequency(int frequency);</h3>
			</div>
<div id="frequency() const">
<h3>int frequency() const;</h3>
			</div>
<div id="realFrequency() const">
<h3>int realFrequency() const;</h3>
			</div>
<div id="start()">
<h3>bool start();</h3>
			</div>
<div id="pause()">
<h3>bool pause();</h3>
			</div>
<div id="sleep(BReal)">
<h3>bool sleep(BReal seconds = -1);</h3>
			</div>
<div id="wait()">
<h3>bool wait();</h3>
			</div>
<div id="cease()">
<h3>bool cease();</h3>
			</div>
<div id="done(int)">
<h3>bool done(int code = 0);</h3>
			</div>
<div id="runing() const">
<h3>bool runing() const;</h3>
			</div>
<div id="BObject::query;()">
<h3>using BObject::query;</h3>
			</div>
<div id="query(const BString&, BValue&) const">
<h3>virtual bool query(const BString&amp; text, BValue&amp; value) const;</h3>
			</div>
<div id="run()">
<h3>virtual int run() = 0;</h3>
			</div>
		</div>
	</body>
</html>